from django.conf.urls import url
from rest_framework_jwt.views import obtain_jwt_token

from users import views

urlpatterns = [
    url(r'^usernames/(?P<username>\w{5,20})/count/$',views.RegisterUserNamesAPIView.as_view()),
    url(r'^$',views.ResgisterUserAPIView.as_view()),
    url(r'^auths/$',obtain_jwt_token,name='auths'),

]